.profile-container {
  padding: 0;

  .profile-card {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

    .ant-tabs {
      .ant-tabs-nav {
        margin-bottom: 24px;
        
        .ant-tabs-tab {
          padding: 12px 0;
          font-size: 15px;
          font-weight: 500;

          &:hover {
            color: #40a9ff;
          }

          &.ant-tabs-tab-active {
            .ant-tabs-tab-btn {
              color: #1890ff;
              font-weight: 600;
            }
          }
        }

        .ant-tabs-ink-bar {
          background: #1890ff;
          height: 3px;
        }
      }
    }

    // 基本信息Tab
    .info-tab {
      .info-content {
        display: flex;
        gap: 40px;
        align-items: flex-start;

        .avatar-section {
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 12px;
          flex-shrink: 0;

          .ant-avatar {
            border: 2px solid #f0f0f0;
          }

          .upload-btn {
            font-size: 12px;
          }
        }

        .form-section {
          flex: 1;

          .form-header {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 16px;

            .edit-actions {
              display: flex;
              gap: 8px;
            }
          }

          .info-form {
            max-width: 650px;

            .ant-form-item {
              margin-bottom: 20px;

              .ant-form-item-label {
                padding-bottom: 4px;

                label {
                  font-size: 14px;
                  color: #595959;
                }
              }

              .ant-input {
                border-radius: 4px;

                &:hover:not([disabled]) {
                  border-color: #40a9ff;
                }

                &:focus {
                  border-color: #1890ff;
                  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
                }
              }

              .ant-input[disabled] {
                background: #f5f5f5;
                color: #8c8c8c;
                cursor: not-allowed;
              }
            }
          }
        }
      }
    }

    // 账号信息Tab
    .account-tab {
      max-width: 800px;
      margin: 0 auto;

      .account-info {
        .ant-descriptions-item-label {
          font-weight: 600;
          color: #262626;
          background: #fafafa;
          width: 150px;
        }

        .ant-descriptions-item-content {
          color: #595959;
        }

        .ant-tag {
          border-radius: 4px;
          padding: 2px 12px;
          font-size: 13px;
        }
      }
    }

    // 安全设置Tab
    .security-tab {
      max-width: 350px;

      .password-form {
        .ant-form-item {
          margin-bottom: 20px;

          .ant-form-item-label {
            padding-bottom: 4px;

            label {
              font-size: 14px;
              color: #595959;
            }
          }

          .ant-input-password {
            border-radius: 4px;

            &:hover {
              border-color: #40a9ff;
            }

            &:focus-within {
              border-color: #1890ff;
              box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
            }
          }

          &.form-actions {
            margin-top: 32px;
            margin-bottom: 0;

            .ant-form-item-control-input-content {
              display: flex;
              gap: 12px;
              justify-content: flex-start;

              .ant-btn {
                min-width: 80px;
              }
            }
          }
        }
      }
    }
  }

  // 响应式设计
  @media (max-width: 768px) {
    padding: 16px;

    .profile-card {
      .ant-card-body {
        padding: 16px;
      }

      .info-tab {
        .info-content {
          flex-direction: column;
          gap: 24px;
        }
      }

      .account-tab,
      .security-tab {
        max-width: 100%;
      }

      .ant-tabs {
        .ant-tabs-nav {
          .ant-tabs-tab {
            padding: 8px 16px;
            font-size: 14px;
          }
        }
      }
    }
  }
}
